package com.qfedu.hotelssm.dto;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author truman
 * @date 2022/9/1
 * @description 部门查询数据转换
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class DepartmentDto {
    @ExcelIgnore
    private Integer id;//部门编号
    @ExcelProperty(value = "部门名称")
    private String name;//部门名称
    @ExcelProperty(value = "负责人")
    private Integer eid;//负责人
    private String ename;//负责人名称
}
